home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
AppleEvents
/
Records
/
ConstAEMember.h
< prev
Wrap
Text File
|
2000-06-23
|
715b
|
46 lines
// ConstAEMember.h
#ifndef ConstAEMember_h
#define ConstAEMember_h
#ifndef AEType_h
#include "AEType.h"
#endif
#ifndef AEKey_h
#include "AEKey.h"
#endif
#ifndef Data_h
#include "Data.h"
#endif
class AEStruct;
class Buffer;
class ConstAEMember
{
private:
const AEStruct& record;
AEKey key;
public:
ConstAEMember( const AEStruct& theRecord, AEKey theKey )
: record( theRecord ),
key( theKey )
{}
const AEStruct& Record() const { return record; }
AEKey Key() const { return key; }
bool Exists() const;
uint32 Length() const;
AEType Type() const;
void operator>>( Data ) const;
void operator>>( Buffer& ) const;
void Get( AEType, Data ) const;
};
#endif